introduce XENMEM_reserved_device_memory_map
authorJan Beulich <jbeulich@suse.com>
Wed, 22 Jul 2015 15:06:01 +0000 (16:06 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 23 Jul 2015 12:45:25 +0000 (13:45 +0100)
commit9568438113277ea73cf5c9dbc426929f2c61c31f
tree6ec533ddc116bd037a0251a2552bfd5439d1acec
parent10f086ecbb2a4f9749e22412020e964a19c1b7fd
introduce XENMEM_reserved_device_memory_map

This is a prerequisite for punching holes into HVM and PVH guests' P2M
to allow passing through devices that are associated with (on VT-d)
RMRRs.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Tiejun Chen <tiejun.chen@intel.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
---
v12a: Move interface structure union member to the end, while moving
     the whole public header block into a __XEN__ / __XEN_TOOLS__
     conditional block.
v12: Restore changes as much as possible to my original version, fixing
     a few issues that got introduced after handing it over. Unionize
     new public memop interface structure to allow for non-PCI to be
     supported later on. Check flags to have all currently undefined
     flags clear. Refine adjustments to xen/pci.h.
xen/common/compat/memory.c
xen/common/memory.c
xen/drivers/passthrough/iommu.c
xen/drivers/passthrough/vtd/dmar.c
xen/drivers/passthrough/vtd/extern.h
xen/drivers/passthrough/vtd/iommu.c
xen/include/public/memory.h
xen/include/xen/iommu.h
xen/include/xen/pci.h
xen/include/xlat.lst